vr2-4-09.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-4-09.wrl
PointLight { location 0 0 0 }
Background {
  skyColor [
    0.0 0.0 0.1,
    0.1 0.1 0.2,
    0.1 0.1 0.3,
    0.1 0.1 0.4,
    0.2 0.2 0.5,
    0.2 0.2 0.6,
    0.2 0.2 0.7
  ]
  skyAngle[0.3, 0.6, 0.9, 1.2, 1.5, 1.57]
}
Shape {
  appearance Appearance {
    material Material {
      diffuseColor 1 0 0
      emissiveColor 1 0 0
      transparency  0
    }
  }
  geometry Sphere { radius 1 }
}
Transform {
  translation 4 0 0
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 1 1 0
      }
    }
    geometry Sphere { radius 0.5 }
  }
}
Transform {
  translation 4 0 0
  scale 1 0.05 1
  rotation 0 0 1 0.3
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 0
      }
    }
    geometry Sphere { radius 1.5 }
  }
}